package com.hyt.it.ogt.kq.service.bm.model.vo;

import com.hyt.core.ModelSerializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

/**
 * @Description: 报名流程
 * @Author: STARF
 * @CreateDate: 2022/03/02 17:02
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "ProjectProcessVO类", description = "报名流程VO类")
public class ProjectProcessVO implements ModelSerializable {

    @ApiModelProperty(value = "流程id，前端新建项目时无需传值，编辑时需传值")
    private String id;

    @NotEmpty(message = "项目id不能为空")
    @ApiModelProperty(value = "报名项目id")
    private String projectId;

    @NotEmpty(message = "流程类型不能为空")
    @ApiModelProperty(value = "流程类型：1-报名须知，2-基本信息，3-报名科目，4-资格审核，5-缴费，6-打印准考证")
    private Integer type;

    @ApiModelProperty(value = "是否启用：1-否，2-是")
    private Integer enable;

    @NotEmpty(message = "排序不能为空")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "截止时间")
    private LocalDateTime endTime;
}
